package com.gxkj.projects.myshopx.dao;

import com.gxkj.common.hibernate.HibernateBaseRepositoryImpl;

import java.util.HashMap;
import java.util.Map;


public class GoodsMemberPriceDaoImpl  extends HibernateBaseRepositoryImpl {

    /**
     * 根据商品id删除记录列表
     * @param goodsIds
     */
    public void doDeleteByGoodsId(String goodsIds){
        String hql = "delete from GoodsMemberPrice where goodsId = :goodsId";
        Map<String,Object> param = new HashMap<String,Object>();
        param.put("goodsIds", goodsIds);
        this.executeUpdateByHql(hql,param);
    }
}
